//------------------------------------------------------------------------------
// <copyright file="Player.h" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
//------------------------------------------------------------------------------

#pragma once

#include "RpcArchive.h"
#include "Weapon.h"
#include "Stature.h"

namespace Microsoft { namespace Internal { namespace GamesTest { namespace Rpc { namespace Server { namespace TestHooks
{

class Player
	{
	public:
		float health;
		wchar_t* name;

		wchar_t** spells;
		DWORD numSpells;

		Weapon* weapons;
		DWORD numWeapons;

		Stature stature;

		Player();

		static HRESULT FromRpcArchive(RpcArchive& archive, Player* result);

		HRESULT ToRpcArchive(RpcArchive* result);

		virtual ~Player();
	};
}}}}}}